body {
  background-color: #f7f7f7;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

#app {
  height: 100%;
}

*,
:after,
:before {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

address,
cite,
dfn,
em,
var {
  font-style: normal;
}

code,
kbd,
pre,
samp {
  font-family: couriernew, courier, monospace;
}

small {
  font-size: 12px;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

legend {
  color: #000;
}

fieldset,
img {
  border: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@for $i from 1 through 20 {
  .mt#{$i*5} {
    margin-top: #{$i * 5}px;
  }

  .mr#{$i*5} {
    margin-right: #{$i * 5}px;
  }

  .mb#{$i*5} {
    margin-bottom: #{$i * 5}px;
  }

  .ml#{$i*5} {
    margin-left: #{$i * 5}px;
  }
}

@for $i from 1 through 20 {
  .pt#{$i*5} {
    padding-top: #{$i * 5}px;
  }

  .pr#{$i*5} {
    padding-right: #{$i * 5}px;
  }

  .pb#{$i*5} {
    padding-bottom: #{$i * 5}px;
  }

  .pl#{$i*5} {
    padding-left: #{$i * 5}px;
  }
}

.fr {
  float: right;
}

//滚动条凹槽的颜色，还可以设置边框属性
::-webkit-scrollbar-track-piece {
  background-color: transparent;
}

//滚动条的宽度
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

//滚动条的设置
::-webkit-scrollbar-thumb {
  background-color: #d6dfff;
  background-clip: padding-box;
  border-radius: 2px;
  min-height: 28px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #d6dfff;
}
